package com.intellij.GraphEditor;

import java.awt.*;

/**
 * Created by IntelliJ IDEA.
 * User: karpov
 * Date: 29.11.2006
 * Time: 0:20:59
 * To change this template use File | Settings | File Templates.
 */
public class Edge extends Node {
    int fin_x;
    int fin_y;

    public Edge(int coord_x, int coord_y, String node_name,String node_comment, Editor editor) {
        super(coord_x, coord_y, node_name,node_comment, editor);
    }

    void draw_edge() {
        Graphics g = editor.output.getGraphics();
        g.fillOval(coord_x, coord_y, 10, 10);
        g.drawString(object_name, coord_x, coord_y);
    }

    void delete_edge() {
// TODO
    }

    void highlight_edge() {
//TODO
    }
}
